home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 029a / wasted22.zip / WASTEDIR.TXT < prev   
Text File  |  1991-11-25  |  3KB  |  59 lines

  1.                 Description Text File for WASTEDIR.EXE
  2.  
  3.    Programmed by John Everson --- November 1991 --- Turbo Pascal 6.0
  4.                    Copyright 1991 --- Free Software
  5.  
  6. I wrote the WASTEDIR program to remove directories and sub- directories,
  7. as well as the files that reside in them. Often times I am cleaning or
  8. upgrading software on different machines and got very tired of trying to
  9. erase a directory, finding out that it was a parent directory, having to
  10. change directories, trying to erase 4 sub-directories, only to find out
  11. that half of them contained hidden or read-only files! Then you have to
  12. use the ATTRIB command, or the FLAG command, or some utility that deletes
  13. or changes the attributes of files/directories. Finally, when you do get
  14. the subdirectories deleted, as well as all their files, you can erase the
  15. parent directory (the one you started with), and it's only taken 5
  16. minutes (but your fingers are killing you from trying to type as fast as
  17. you could). I figured there should be an easier way, so I wrote a small
  18. batch file, which of course wasn't very strong, but it lessened the
  19. amount of typing. I went from there to writing a small pascal program,
  20. which grew and grew and grew. Now it's 10 some-odd K-bytes, and will
  21. probably get larger when some bugs are found!
  22.  
  23. Anyhow, enough of the origin, here's what the program does:
  24.  
  25. WASTEDIR removes directories, and anything that may be in those
  26. directories. If there should be a read-only (or any ATTRIBed file)
  27. wastedir will catch it, and ask if you wish to delete it and continue. If
  28. you do not want to be asked this question, just add the switch /P which
  29. is no-Prompting. The only other switch is /V for non-Verbose deletion,
  30. which just means you will not get the play by play information about what
  31. the program is currently doing.
  32.  
  33. If you just type in WASTEDIR, and you are at the root drive, it will not
  34. do anything but tell you the switches. If you are in a directory, it will
  35. tell you the switches, AND ask if you wish to delete the current
  36. directory structure (you can respond y or n). If you are in
  37. C:\TEMP\JOHN\EVERSON, and type in WASTEDIR it will ask if you want to
  38. delete the directory structure of C:\TEMP\JOHN\EVERSON. If you say Yes,
  39. then you will be left at C:\TEMP\JOHN, and EVERSON will be gone. If you
  40. say No, you'll be left at C:\TEMP\JOHN\EVERSON. If you should have typed
  41. WASTEDIR C:\TEMP, it would ask if that's what you want to do, then it
  42. would erase the entire tree of C:\TEMP, and leave you at the C:\> prompt.
  43. This program will also work on any drive; local, network, mapped,
  44. assigned, etc.
  45.  
  46. The last thing I want to say is that this is my first attempt at a public
  47. software, and I hope this program is useful. Since I have written it, and
  48. gave it to my friends and co-workers, they tell me they wouldn't be
  49. without it. The program probably has some bugs in it, however, I believe
  50. I got the big, bad, ugly ones. Let me know if any problems should appear,
  51. and I will fix them faster than it would take to download it! Should
  52. anyone like to donate some cash my way, it would make me very happy, and
  53. would really freak out my roommate!
  54.  
  55.             My address is:   192 Woodstock Estates
  56.                              Columbia, MO 65201
  57.  
  58. Thanks, be careful, and enjoy!   -John
  59.